package com.book.manage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("lend_list")
public class LendList {
    @TableId("id")
    private Integer id;
    @TableField("bookId")
    private Integer bookId;
    @TableField("readerId")
    private Integer readerId;
    @TableField("lendDate")
    private LocalDateTime lendDate;
    @TableField("backDate")
    private LocalDateTime backDate;
    @TableField("backType")
    private Integer backType;
    @TableField("exceptRemarks")
    private String exceptRemarks;
}
